type context.cancelCtx
15 uses
context (current package)
context.go#L273: func withCancel(parent Context) *cancelCtx {
context.go#L277: c := &cancelCtx{}
context.go#L289: if cc, ok := c.Value(&cancelCtxKey).(*cancelCtx); ok {
context.go#L347: cancelCtx
context.go#L382: func parentCancelCtx(parent Context) (*cancelCtx, bool) {
context.go#L387: p, ok := parent.Value(&cancelCtxKey).(*cancelCtx)
context.go#L431: type cancelCtx struct {
context.go#L441: func (c *cancelCtx) Value(key any) any {
context.go#L448: func (c *cancelCtx) Done() <-chan struct{} {
context.go#L463: func (c *cancelCtx) Err() error {
context.go#L475: func (c *cancelCtx) propagateCancel(parent Context, child canceler) {
context.go#L542: func (c *cancelCtx) String() string {
context.go#L549: func (c *cancelCtx) cancel(removeFromParent bool, err, cause error) {
context.go#L663: cancelCtx
context.go#L783: case *cancelCtx:
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)